<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<html>
<head>
    <title>MyPetStore</title>
    <link rel="StyleSheet" href="css/mypetstore.css" type="text/css" media="screen"/>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
    <script src="js/productInfo.js"></script>
    <script src="js/productAuto.js"></script>
    <script src="js/cartUpdateAuto.js"></script>
    <script src="js/module.js"></script>
</head>

<body>
<div id="Header">
    <div id="Logo">
        <div id="LogoContent">
            <a href="mainFrom"><img src="images/logo-topbar.gif"> </a>
        </div>
    </div>

    <div id="Menu">
        <div id="MenuContest">
            <a href="cartForm"><img src="images/cart.gif" align="middle" name="img_cart"></a>
            <img src="images/separator.gif" align="middle">

            <c:if test="${sessionScope.account == null}">
                <a href="loginForm">Sign In</a>
                <img src="images/separator.gif" align="middle">
            </c:if>

            <c:if test="${sessionScope.account != null}">
                <a href="orderForm">My Orders</a>
                <img src="images/separator.gif" align="middle">
                <a href="signOut">Sign Out</a>
                <img src="images/separator.gif" align="middle">
                <a href="myAccount">My Account</a>
                <img src="images/separator.gif" align="middle">
            </c:if>

            <a href="help.html">?</a>
        </div>
    </div>

    <div id="Search">
        <div id="SearchContent">
            <form action="search" method="post">
                <input type="search" name="keyword" size="14" id="keyword">
                <input type="submit" value="Search">
            </form>
        </div>
        <div id="productAutoComplete">
            <ul id="productAutoList">
                <%--                <li class="productAutoItem">Amazon Parrot</li>--%>
                <%--                <li class="productAutoItem">Amazon Parrot</li>--%>
                <%--                <li class="productAutoItem">Amazon Parrot</li>--%>
                <%--                <li class="productAutoItem">Amazon Parrot</li>--%>
                <%--                <li class="productAutoItem">Amazon Parrot</li>--%>
                <%--                <li class="productAutoItem" data-productId="aa">Amazon Parrot</li>--%>
            </ul>
        </div>
    </div>

    <div id="QuickLinks">
        <a href="categoryForm?categoryId=FISH"><img src="images/sm_fish.gif"></a>
        <img src="images/separator.gif">
        <a href="categoryForm?categoryId=DOGS"><img src="images/sm_dogs.gif"></a>
        <img src="images/separator.gif">
        <a href="categoryForm?categoryId=CATS"><img src="images/sm_cats.gif"></a>
        <img src="images/separator.gif">
        <a href="categoryForm?categoryId=REPTILES"><img src="images/sm_reptiles.gif"></a>
        <img src="images/separator.gif">
        <a href="categoryForm?categoryId=BIRDS"><img src="images/sm_birds.gif"></a>
    </div>

</div>
<div id="Content">

